import api from "@/api";
import axios from "@/utils/axios";

//获取患者列表
function getpatientlist() {
    return axios({
        url: api.patientApi.getpatientlist,
        method: 'post',
    })
}

//新增患者列表
function patientAdd(map) {
    return axios({
        url: api.patientApi.patientAdd,
        method: 'post',
        params: {
            map
        }
    })
}

export default {
    getpatientlist,
    patientAdd
}